<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>二级分类页面</title>
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/css/common.css" />
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/css/ej_class.css" />
<script type="text/javascript" src="js/jquery-1.3.2.js"></script>
<script type="text/javascript" src="js/common.js"></script>
<script type="text/javascript" src="js/jquery.blockUI.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/js/jquery-1.8.2.min.js"></script>
<script type="text/javascript">
//遍历每个一级分类下的图片
	
 



</script>
</head>
<body>
    
<%@include file="menu.jsp" %>


<div class="w_980 m">
<div class="w_980 fl_l ma_t10"><img src="<%=request.getContextPath() %>/images/ad8.jpg" width="980" height="60" /></div>
<div class="w_980 fl_l">
  <div class="w_200 fl_l">
    <div class="ejfl_c ma_t10">
    	<div class="ejfl_title">美容化妆</div>
			<!-- 二级分类********************************************的展示 -->
			<c:forEach items="${categoryList}" var="l">
			<div class="ejfl_list">
        	<div class="ejfl_name"><a href="">${l.cname}</a></div>
              <ul class="ejfl_text">
              	<c:forEach items="${categorysecondList}" var="d">
	                
	               <c:if test="${d.cname==l.cname}">
		               	<c:forEach items="${d.csname}" var="m">
		                	<li><a href="">${m}</a></li>
	               			 <li> | </li>
		                </c:forEach>
	               </c:if>
	                
                </c:forEach>
            </ul>            
          </div>
          </c:forEach>
			                                                                                                
    </div>
    </div>
  <div class="w_770 fl_r">
    <div class="w_770 fl_l ma_t10">
       	  <div class="w_550 fl_l">
        	<div class="w_550 fl_l"><a href=" "><img src="<%=request.getContextPath() %>/images/ad4.jpg" width="550" height="175" /></a></div>
            <%-- <div class="w_550 bor fl_l ma_t10">
<ul class="xsqg_title">
            	<li class="select"><a href="">限时抢购</a></li>
                <li><a href="">限时抢购</a></li>
                <li><a href="">限时抢购</a></li>
                <li><a href="">限时抢购</a></li>
            </ul>
            <ul class="xsqg_pic">
            	<li>
                	<p class="pic te_r"><a href="  "><img src="<%=request.getContextPath() %>/images/ad7.jpg" width="105" height="105" /></a></p>
                    <p class="pic"><a href="">滴露Dettol衣物除菌液(柠檬香型)2.5L送
                  </a><span class="redfont">￥55.9</span></p>
                </li>
            	<li>
                	<p class="pic te_r"><a href="  "><img src="<%=request.getContextPath() %>/images/ad14.jpg" width="105" height="105" /></a></p>
                    <p class="pic"><a href="">滴露Dettol衣物除菌液(柠檬香型)2.5L送
                  </a><span class="redfont">￥55.9</span></p>
                </li>
            	<li>
                	<p class="pic te_r"><a href="  "><img src="<%=request.getContextPath() %>/images/ad7.jpg" width="105" height="105" /></a></p>
                    <p class="pic"><a href="">滴露Dettol衣物除菌液(柠檬香型)2.5L送
                  </a><span class="redfont">￥55.9</span></p>
                </li>
            	<li>
                	<p class="pic te_r"><a href="  "><img src="<%=request.getContextPath() %>/images/ad14.jpg" width="105" height="105" /></a></p>
                    <p class="pic"><a href="">滴露Dettol衣物除菌液(柠檬香型)2.5L送
                  </a><span class="redfont">￥55.9</span></p>
                </li>                                                
            </ul>
        </div> --%>
   <!-- ****************************************************************************************8 -->
   
 
   		<ul class="xsqg_pic">
            	
            	<c:forEach items="${productList}" var="d" varStatus="df">
		         	
		         		
			         		<li>
			                	<p class="pic te_r"><a href=" "><img src="<%=request.getContextPath() %>/${d.image}" width="105" height="105" /></a></p>
			                    <p class="pic"><a href="">${d.pname}${df.index}
			                  </a><span class="redfont">￥55.9</span></p>
			                </li>
		               
		         	
        		 </c:forEach>	                                             
            </ul>
   
  
   
   
<%--          <c:forEach items="${categoryList}" var="s" begin="0" end="3" step="1" varStatus="ds">
         	<!-- 一级标题 -->
         	<div class="w_550 fl_l ma_t10 bor">
              <div class="tl_bg">
                <div class="ejtl_title fl_l">${s.cname}</div>
                <div class="ejtl_more fl_r"><a href="">更多&gt;&gt;${ds.index}</a></div>
              </div>
            </div>
            <!-- 遍历一级标题下的商品 如何遍历 -->
         	<ul class="xsqg_pic">
            	
            	<c:forEach items="${productList}" var="d" varStatus="df">
		         	<c:if test="${d.cname==s.cname}">
		         		
			         		<li>
			                	<p class="pic te_r"><a href=" "><img src="<%=request.getContextPath() %>/${d.image}" width="105" height="105" /></a></p>
			                    <p class="pic"><a href="">${d.pname}${df.index}
			                  </a><span class="redfont">￥55.9</span></p>
			                </li>
		               
		         	</c:if>
        		 </c:forEach>	                                             
            </ul>
            
            <ul class="xsqg_pic">
            	
            	<c:forEach items="${list1}" var="d" varStatus="df">
		         	<c:if test="${d.cid==s.cid}">
		         		
			         		<li>
			                	<p class="pic te_r"><a href=" "><img src="<%=request.getContextPath() %>/${d.image}" width="105" height="105" /></a></p>
			                    <p class="pic"><a href="">${d.pname}${df.index}
			                  </a><span class="redfont">￥55.9</span></p>
			                </li>
		               </c:if>
        		 </c:forEach>
        		 
        	 </ul>
            
          <!-- 遍历下一个 -->
          	 <ul class="xsqg_pic">
            	
            	<c:forEach items="${list2}" var="d" varStatus="df">
		         	<c:if test="${d.cid==s.cid}">
		         		
			         		<li>
			                	<p class="pic te_r"><a href=" "><img src="<%=request.getContextPath() %>/${d.image}" width="105" height="105" /></a></p>
			                    <p class="pic"><a href="">${d.pname}${df.index}
			                  </a><span class="redfont">￥55.9</span></p>
			                </li>
		               </c:if>
        		 </c:forEach>
        		 
        	 </ul>
        	  <!-- 遍历下一个 -->
          	 <ul class="xsqg_pic">
            	
            	<c:forEach items="${list3}" var="d" varStatus="df">
		         	<c:if test="${d.cid==s.cid}">
		         		
			         		<li>
			                	<p class="pic te_r"><a href=" "><img src="<%=request.getContextPath() %>/${d.image}" width="105" height="105" /></a></p>
			                    <p class="pic"><a href="">${d.pname}${df.index}
			                  </a><span class="redfont">￥55.9</span></p>
			                </li>
		               </c:if>
        		 </c:forEach>
        		 
        	 </ul>
        	  <!-- 遍历下一个 -->
          	 <ul class="xsqg_pic">
            	
            	<c:forEach items="${list4}" var="d" varStatus="df">
		         	<c:if test="${d.cid==s.cid}">
		         		
			         		<li>
			                	<p class="pic te_r"><a href=" "><img src="<%=request.getContextPath() %>/${d.image}" width="105" height="105" /></a></p>
			                    <p class="pic"><a href="">${d.pname}${df.index}
			                  </a><span class="redfont">￥55.9</span></p>
			                </li>
		               </c:if>
        		 </c:forEach>
        		 
        	 </ul>
          
         </c:forEach> --%>
        
         
               
    </div>
<%--             <div class="w_200 fl_r">
           	  <div class="w_200_bor fl_l">
            	<div class="title">乐扣公告</div>
                <ul class="new_list">
                	<li>・<a href="">夏日流行e站，让你抢购到手软到手软到手软</a></li>
                	<li>・<a href="">夏日流行e站，让你抢购到手软</a></li>
                	<li>・<a href="">夏日流行e站，让你抢购到手软</a></li>
                	<li>・<a href="">夏日流行e站，让你抢购到手软</a></li>
                	<li>・<a href="">夏日流行e站，让你抢购到手软</a></li>
                	<li>・<a href="">夏日流行e站，让你抢购到手软</a></li>                                                                                                    
                </ul>
              </div>
              <div class="w_200 fl_r ma_t10"><a href=" "><img src="<%=request.getContextPath() %>/images/ad6.jpg" width="200" height="222" /></a></div>
              <div class="w_200_bor fl_l ma_t10">
            	<div class="title">本周热销单品</div>
                <ul class="rxdp">
                <li>
                    <span class="rxdp_hot">1</span>
                    <div class="rxdp_img"><a href=" "><img src="<%=request.getContextPath() %>/images/img_40.jpg" width="40" height="40" /></a></div>
                    <div class="rxdp_name"><a href="">滴露Dettol衣物除菌液(柠檬香型)2.5L送2.5L送</a></div>
                    <div class="rxdp_price">￥55.9</div>
                  </li>  
                <li>
                    <span class="rxdp_hot">2</span>
                    <div class="rxdp_img"><a href=" "><img src="<%=request.getContextPath() %>/images/img_40.jpg" width="40" height="40" /></a></div>
                    <div class="rxdp_name"><a href="">滴露Dettol衣物除菌液(柠檬香型)2.5L送2.5L送</a></div>
                    <div class="rxdp_price">￥55.9</div>
                  </li>
                <li>
                    <span class="rxdp_hot">3</span>
                    <div class="rxdp_img"><a href=" "><img src="<%=request.getContextPath() %>/images/img_40.jpg" width="40" height="40" /></a></div>
                    <div class="rxdp_name"><a href="">滴露Dettol衣物除菌液(柠檬香型)2.5L送2.5L送</a></div>
                    <div class="rxdp_price">￥55.9</div>
                  </li> 
                <li>
                    <span class="rxdp_dot">4</span>
                    <div class="rxdp_img"><a href=" "><img src="<%=request.getContextPath() %>/images/img_40.jpg" width="40" height="40" /></a></div>
                    <div class="rxdp_name"><a href="">滴露Dettol衣物除菌液(柠檬香型)2.5L送2.5L送</a></div>
                    <div class="rxdp_price">￥55.9</div>
                  </li>
                  <li>
                    <span class="rxdp_dot">5</span>
                    <div class="rxdp_img"><a href=" "><img src="<%=request.getContextPath() %>/images/img_40.jpg" width="40" height="40" /></a></div>
                    <div class="rxdp_name"><a href="">滴露Dettol衣物除菌液(柠檬香型)2.5L送2.5L送</a></div>
                    <div class="rxdp_price">￥55.9</div>
                  </li>
                  <li>
                    <span class="rxdp_dot">6</span>
                    <div class="rxdp_img"><a href=" "><img src="<%=request.getContextPath() %>/images/img_40.jpg" width="40" height="40" /></a></div>
                    <div class="rxdp_name"><a href="">滴露Dettol衣物除菌液(柠檬香型)2.5L送2.5L送</a></div>
                    <div class="rxdp_price">￥55.9</div>
                  </li>                  <li>
                    <span class="rxdp_dot">7</span>
                    <div class="rxdp_img"><a href=" "><img src="<%=request.getContextPath() %>/images/img_40.jpg" width="40" height="40" /></a></div>
                    <div class="rxdp_name"><a href="">滴露Dettol衣物除菌液(柠檬香型)2.5L送2.5L送</a></div>
                    <div class="rxdp_price">￥55.9</div>
                  </li>
                  <li>
                    <span class="rxdp_dot">8</span>
                    <div class="rxdp_img"><a href=" "><img src="<%=request.getContextPath() %>/images/img_40.jpg" width="40" height="40" /></a></div>
                    <div class="rxdp_name"><a href="">滴露Dettol衣物除菌液(柠檬香型)2.5L送2.5L送</a></div>
                    <div class="rxdp_price">￥55.9</div>
                  <li style="border-bottom:none;">
                    <span class="rxdp_dot">9</span>
                    <div class="rxdp_img"><a href=" "><img src="<%=request.getContextPath() %>/images/img_40.jpg" width="40" height="40" /></a></div>
                    <div class="rxdp_name"><a href="">滴露Dettol衣物除菌液(柠檬香型)2.5L送2.5L送</a></div>
                    <div class="rxdp_price">￥55.9</div>
                  </li>                                                                                                                                       
                </ul>
              </div>
          </div> --%>
      </div>
  </div>
</div>
<div class="bottom fl_l ma_t10">
<div class="footlink">
    	<div class="footlinkt">配送范围</div>
        <ul>
        	<li><a href="">上海 |  北京 |  其他地区</a></li>
        	<li><a href="">配送费收取标准</a></li>            
        </ul>
    </div>
    <div class="footlink">
    	<div class="footlinkt">服务说明</div>
        <ul>
        	<li><a href="">付款方式</a></li>
        	<li><a href="">服务协议 </a></li>            
        </ul>
    </div>
    <div class="footlink">
    	<div class="footlinkt">我的订单</div>
        <ul>
        	<li><a href="">查询订单</a></li>
        	<li><a href="">如何下订单</a></li>            
        </ul>
    </div>
    <div class="footlink">
    	<div class="footlinkt">售后服务</div>
        <ul>
        	<li><a href="">退换货原则</a></li>
        	<li><a href="">在线客服区</a></li>
        	<li><a href="">在线客服区</a></li>                         
        </ul>
    </div>
    <div class="footlink">
    	<div class="footlinkt">需要帮助</div>
        <ul>
        	<li><a href="">忘记密码</a></li>
        	<li><a href="">常见问题</a></li> 
        	<li><a href="">联系客服人员</a></li>
        	<li><a href="">抵用券使用说明</a></li>                         
        </ul>
    </div>
</div>
<div class="w_980 fl_l ma_t10">
	<ul class="footerpic1">
    	<li><a href=" "><img src="<%=request.getContextPath() %>/images/wmjl.jpg" width="217" height="49" /></a></li>
    	<li><a href=" "><img src="<%=request.getContextPath() %>/images/mbby.jpg" width="217" height="49" /></a></li>
    	<li><a href=" "><img src="<%=request.getContextPath() %>/images/gkzs.jpg" width="217" height="49" /></a></li>
    </ul>
</div>
<div class="w_980 fl_l ma_t10 te_m">关于我们 | 联系我们 | 人才招聘 | 商家入驻 | 广告服务 | 移动终端 | 友情链接 | 销售联盟
<br />北京市公安局海淀分局备案编号：11010233381  京ICP证070的4523号  
<br />Copyright2004-2011  五金商城 版权所有</div>
<div class="w_980 fl_l ma_t10">
	<ul class="footerpic">
    	<li><a href=" "><img src="<%=request.getContextPath() %>/images/footer_pic_04.gif" width="91" height="31" /></a></li>
    	<li><a href=" "><img src="<%=request.getContextPath() %>/images/footer_pic_05.gif" width="91" height="31" /></a></li>
    	<li><a href=" "><img src="<%=request.getContextPath() %>/images/footer_pic_06.gif" width="91" height="31" /></a></li>
    	<li><a href=" "><img src="<%=request.getContextPath() %>/images/footer_pic_07.gif" width="91" height="31" /></a></li>
    	<li><a href=" "><img src="<%=request.getContextPath() %>/images/footer_pic_09.gif" width="91" height="31" /></a></li> 
    	<li><a href=" "><img src="<%=request.getContextPath() %>/images/footer_cnnic.jpg" width="91" height="31" /></a></li>                                         
    </ul>
</div>
</div>
</body>
</html>
    